﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using HotelManager.GUI.UC;

namespace HotelManager
{
    public partial class QuanLyKhachSan : Form
    {
        public QuanLyKhachSan()
        {
            InitializeComponent();
            Load_phong();
        }
        public void Load_phong()
        {
            this.pnlControlMain.Controls.Clear();
            QuanLyPhong qlphong = new QuanLyPhong();
            this.pnlControlMain.Controls.Add(qlphong);
        }

        private void bttCaidat_Click_1(object sender, EventArgs e)
        {
            this.pnlControlMain.Controls.Clear();
            CaiDat caidat = new CaiDat();
            this.pnlControlMain.Controls.Add(caidat);
        }

        private void bttQuanlyphong_Click_2(object sender, EventArgs e)
        {
            this.pnlControlMain.Controls.Clear();
            QuanLyPhong qlphong = new QuanLyPhong();
            this.pnlControlMain.Controls.Add(qlphong);
        }

        private void bttKhachhang_Click_1(object sender, EventArgs e)
        {
            this.pnlControlMain.Controls.Clear();
            QuanLyKhachHang qlKH = new QuanLyKhachHang();
            this.pnlControlMain.Controls.Add(qlKH);
        }

        private void bttDichvu_Click_1(object sender, EventArgs e)
        {
            this.pnlControlMain.Controls.Clear();
            QuanLyDichVu qlDV = new QuanLyDichVu();
            this.pnlControlMain.Controls.Add(qlDV);
        }

        private void bttBanggia_Click_1(object sender, EventArgs e)
        {
            this.pnlControlMain.Controls.Clear();
            BangGia banggia = new BangGia();
            this.pnlControlMain.Controls.Add(banggia);
        }

       

      

       
        
    }
}
